api_geolocation

Configuration for AF API Geo Location Report table resource.

Read/write properties

region<String>

Region Name.

api_instance<String>

API Instance Name.
Maximum length = 255

total_requests<Double>

Total Requests in given sampled timeframe..

region_code<String>

Region Code.

longitude<Double>

Longitude.

api_endpoint<String>

API Endpoint Name.
Maximum length = 255

latitude<Double>

Latitude.

country<String>

Country Name.

max_response_time<Double>

Maximum Response Time in sampled timeframe..

rpt_sample_time<Double>

Report Sample time..

country_code<String>

Country Code.

__count<Double>

count..

total_country<Double>

Total Country in given sampled timeframe..

http_req_method_name<String>

HTTP Request Method..
Maximum length = 30

city<String>

City Name.

response_time<Double>

Response time..

total_bytes<Double>

Maximum Total Bytes..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/api_geolocation

Query-parameters:

report_end_time

Use this query-parameter to specify the end time until where summary for report is considered.

Possible Values:time in milli seconds

report_start_time

Use this query-parameter to specify the start time from which the summary for report is considered.

Possible Values:time in milli seconds

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "api_geolocation":[{
      "region":<String_value>,
      "api_instance":<String_value>,
      "total_requests":<Double_value>,
      "region_code":<String_value>,
      "longitude":<Double_value>,
      "api_endpoint":<String_value>,
      "latitude":<Double_value>,
      "country":<String_value>,
      "max_response_time":<Double_value>,
      "rpt_sample_time":<Double_value>,
      "country_code":<String_value>,
      "__count":<Double_value>,
      "total_country":<Double_value>,
      "http_req_method_name":<String_value>,
      "city":<String_value>,
      "response_time":<Double_value>,
      "total_bytes":<Double_value>}]}